<?php
namespace PsiFramework\Classes\Util\Object;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The Gender class describes the information for a gender
 *
 * @package Util.Object
 */
class Identification
{

    protected /*string*/     $_login ;
    protected /*string*/     $_password ;
    protected /*string*/     $_error ;

    /**
     * Identification constructor
     *
     * @param     string    $login        the login for the identification
     * @param     string    $password    the password for the identification
     * @param     string    $error        the error during the identification
     * @return    Identification instance
     */
    public function __construct(
        /*string*/ $login=null,
        /*string*/ $password=null,
        /*string*/ $error=null
    )
    {
        $this->_login = $login ;
        $this->_password = $password ;
        $this->_error = $error ;
    }

    /**
     * Getter for the member variable $login
     *
     * @return     string    the login
     */
    public function getLogin()
    {
        return $this->_login ;
    }

    /**
     * Getter for the member variable $password
     *
     * @return     string    the password
     */
    public function getPassword()
    {
        return $this->_password ;
    }

    /**
     * Getter for the member variable $error
     *
     * @return     string    the error
     */
    public function getError()
    {
        return $this->_error ;
    }

    /**
     * Setter for the member variable $error
     *
     * @param    string    the $error
     */
    public function setError(/*string*/ $error)
    {
        $this->_error = $error ;
    }

}

